package com.world.wifi.domain;

import com.world.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.world.common.annotation.Excel;

/**
 * 流量对象 wifi_flow
 * 
 * @author LiJunXi
 * @date 2025-05-27
 */
public class WifiFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流量信息ID */
    private Long flowId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 使用时间 */
    @Excel(name = "使用时间")
    private Integer useTime;

    /** 上传流量 */
    @Excel(name = "上传流量")
    private Integer uploadFlow;

    /** 下载流程 */
    @Excel(name = "下载流程")
    private Integer downloadFlow;

    public void setFlowId(Long flowId) 
    {
        this.flowId = flowId;
    }

    public Long getFlowId() 
    {
        return flowId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUseTime(Integer useTime) 
    {
        this.useTime = useTime;
    }

    public Integer getUseTime() 
    {
        return useTime;
    }

    public void setUploadFlow(Integer uploadFlow) 
    {
        this.uploadFlow = uploadFlow;
    }

    public Integer getUploadFlow() 
    {
        return uploadFlow;
    }

    public void setDownloadFlow(Integer downloadFlow) 
    {
        this.downloadFlow = downloadFlow;
    }

    public Integer getDownloadFlow() 
    {
        return downloadFlow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowId", getFlowId())
            .append("userId", getUserId())
            .append("useTime", getUseTime())
            .append("uploadFlow", getUploadFlow())
            .append("downloadFlow", getDownloadFlow())
            .append("createTime", getCreateTime())
            .toString();
    }
}
